<{include file="admin/public/header.tpl"}>
		<div id="main">
			<div class="head-dark-box">
				<div class="tit">系统管理>用户管理>管理用户</div>
			</div>	
		    <{ include file="admin/public/title.tpl" }>	  
			<div class="msg-box">
				<ul class="viewmess">
					<li class="light-row">
						<form action="admin.php?m=user&a=search" method="post">
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;输入需要查找的用户名：
						<input type="text" size="20" name="username" value="<{$username}>"> 
						<input type="submit" class="button" value="搜索用户">
						</form>
					</li>
					  <form  method="post" action="admin.php?m=user&a=del&page=<{ $page }>" onsubmit="return confirm('你确定要删除选中的用户吗?')"  >
					<li class="dark-row">
						<span class="list_width width_font">用户名</span>
						<span class="list_width width_font" style="width:200px">电子邮件</span>
						<span class="list_width width_font">注册时间</span>
						<span class="list_width width_font">操&nbsp;&nbsp;作</span>
					</li>
				        <{ section name=doc loop=$users }>
						<li class="light-row" style="padding-top:2px; padding-bottom:2px">
							<{ if $users[doc].disable eq 1 }>
								<span class="list_width red_font">	
							<{ else }>
								<span class="list_width">
							<{/if}>
							<{ if $users[doc].id ne 1 }>
								<input type="checkbox" name="id[]"  value="<{ $users[doc].id }>">
							<{ /if }>
						
						
							<{ $users[doc].userName }>
							</span>
							
							<span class="list_width" style="width:200px"><{ $users[doc].email }></span>
							<span class="list_width"><{ $users[doc].regTime|date_format:"%Y-%m-%d" }></span>
				
							<span class="list_width" style="width:160px;">
						
							【<a href="admin.php?m=user&a=mod&id=<{ $users[doc].id }>">修改</a>】
							<{ if $users[doc].id ne 1 }>
							【<a onclick="return confirm('确定要删除用户<{ $users[doc].userName }>吗？')" href="admin.php?m=user&a=del&page=<{ $page }>&id=<{ $users[doc].id }>">删除</a>】
							<{ /if }>
							</span>
						</li>
					<{ sectionelse }>
						<li class="light-row">
							该页没有用户
						</li>
					<{ /section }>
				
					<li class="dark-row">
						<span class="col_width" style="margin-left:15px;width:240px"> 
							<a href="javascript:select()">全选</a>/<a href="javascript:fanselect()">反选</a>/<a href="javascript:noselect()">全不选</a>&nbsp;&nbsp;选中项: 
							
							<input  name="dels" type="image" title="删除" value="delete" src="public/images/admin/delete.gif">&nbsp;&nbsp;
						 </span> 
						<span class="right">
							<{$fpage}>
						</span>
					</li>
					 </form>
				</ul>	
			</div>
                   
		</div>
<div id="timer">
	<p><span class="exetime">当前脚本执行用时</span><span class="red_font"><{ $timer }></span>秒&nbsp;</p>	
</div>
<{include file="admin/public/footer.tpl"}>	


